<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<link rel="StyleSheet" href="/styles.css" type="text/css">
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Lista de micros</title>
</head>
<body>
	<h3>Micros disponibles</h3>
	
	<div>
		<table> 
			<tr>
				<td>Patente</td>
				<td>Butacas</td>
			</tr>
			<c:forEach var="micro" items="${micros}">
				<tr>
					<td>${micro.patente}</td>
					<td>${micro.butacas}</td>
					<td><a href="/borrarMicro?patente=${micro.patente}">Borrar</a>
					</td>
				</tr>
			</c:forEach>
		</table>
	</div>
	<a href="/index.html">Main</a>
</body>
</html>